package cn.jantd.modules.system.service.impl;

import cn.jantd.modules.system.entity.SerServer;
import cn.jantd.modules.system.mapper.SerServerMapper;
import cn.jantd.modules.system.mapper.SysUserMapper;
import cn.jantd.modules.system.service.ISerServerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色表 服务实现类
 * </p>
 *
 * @Author xiagf
 * @date 2019-07-04
 */
@Service
public class SerServerServiceImpl extends ServiceImpl<SerServerMapper, SerServer> implements ISerServerService {
    @Autowired
    private SerServerMapper serverMapper;

    @Override
    public List<SerServer> selectByUuid(String uuid) {
        return serverMapper.selectByUuid(uuid);
    }

    @Override
    public List<SerServer> selectByName(String username) {
        return serverMapper.selectByName(username);
    }


    @Override
    public String selectname(String username) {
        return serverMapper.selectname(username);
    }
}
